int LED = 0; //GPIO16--D0

void setup()
{
    Serial.begin(9600);
Serial.println("Hello ESP8266.");
    
}

String comdata = "";
void loop()
{
    while (Serial.available() > 0)
    {
      comdata += char(Serial.read());
        delay(2);
      }
  comdata.replace("\n","");
  if(comdata.length()>0){
    Serial.println(comdata);
    }
  comdata = "";
    }
